-
-
Notifications
You must be signed in to change notification settings - Fork 896
enable CI on cloud again (server seems to be pretty hard tbh) #2376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
ee5ef87 to
fe8f216
Compare
fe8f216 to
1ffab3c
Compare
…sleeptime in IssueTests
…name test methods for unittest compatibility
| with: | ||
| ref: ${{ github.event.inputs.ref }} | ||
| # Use correct ref for PRs and pushes | ||
| ref: ${{ github.head_ref || github.ref_name || github.event.inputs.ref }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
github.head_ref is the pull request source branch, not the code that is requested for merge. Seems to me you are checking out the wrong version. Do you really need this or the inputs.ref at all? I'd expect it goes for the correct commit without the ref. If the input is needed, it's better available from inputs context as inputs.ref, no need to go for the github.event.inputs.
| strategy: | ||
| matrix: | ||
| os: [ubuntu-latest] | ||
| # We only test a single version to prevent concurrent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can add concurrency to prevent this workflow from running concurrently.
concurrency:
group: jira-cloud-tests
cancel-in-progress: false
| push: | ||
| branches: | ||
| - main | ||
| - "*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this the same as not specifying branches at all? Or do you plan to change it for main only?
on:
push:
No description provided.